package com.service;

import java.util.Map;

import com.pojo.User;

public interface UserService {
	 User login(String username,String password);
	 int register(User user);
	 
	 //加  更换套餐需要
	 User getUserByCardNumber(String cardNumber);
	 boolean changeTaoCan(String cardNumber,String password,int newTaocanId);
	//加 统计金额需要
	 int recalculateConsumption(String cardNumber,int newTaocanId);
	

}
